package apiday02;

public class RgeDemo08 {
    public static void main(String[] args) {
        /*
         *测试：网站密码是单词字符，最少8个，多了不限
         *
         */
        //定义 网络密码规则
        String reg = "\\w{8,}";
        //定义 被检查的字符串
        String s1 = "qwertyui12345";
        String s2 = "sdads";
        String s3 = "sasapf;";
        System.out.println(s1.matches(reg));
        System.out.println(s2.matches(reg));
        System.out.println(s3.matches(reg));

        String s4 = "1535941307";
        System.out.println(s4.matches(reg));

        System.out.println("Hello\tWorld");
    }
}
